The following Application has been created as an assigment for the Coursera Developing Data Products Course.
The Shiny Application can be found here: https://danhai00.shinyapps.io/ddp_assignment/
The GitHub repository with the relevant code can be found here: https://github.com/3Dan3/Coursera-Developing-Data-Products
The North American Free Trade Agreement is an agreement signed by Canada, Mexico, and the US.
The Application is designed to enable the user to interactively view how the GDP (Gross Domestic Product) per Capita changed over time in the NAFTA area. An interactive plot for the dataset gapminder let the user select up to 3 different countries in the date range: 1952 - 2007.
A slider bar enables the user to access the GDP per Capita data of any of the 3 countries for any interval of years from 1952 to 2007.
## # A tibble: 8 x 3
## year country gdpPercap
## <int> <fct> <dbl>
## 1 1992 Canada 26343.
## 2 1957 Mexico 4132.
## 3 1987 Canada 26627.
## 4 1952 United States 13990.
## 5 1972 United States 21806.
## 6 1982 United States 25010.
## 7 1957 Canada 12490.
## 8 1982 Mexico 9611.
## Warning: `arrange_()` is deprecated as of dplyr 0.7.0.
## Please use `arrange()` instead.
## See vignette('programming') for more help
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_warnings()` to see where this warning was generated.